package com.kitty.listener.event;

import com.kitty.game.role.model.Role;
import com.kitty.listener.BasePlayerEvent;
import com.kitty.listener.EventType;
import lombok.Getter;

@Getter
public class SwitchChangeEvent extends BasePlayerEvent {
    Role role;
    private String key;
    private boolean open;

    public SwitchChangeEvent(EventType evtType, Role role, String key, boolean open) {
        super(evtType, role);
        this.role = role;
        this.key = key;
        this.open = open;
    }
}
